<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header('编辑订单的商家备注')"/>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content" th:object="${order}">
    <form class="form-horizontal m" id="form-shop-order-edit">
        <input name="id" type="hidden" th:value="*{id}">
        <div class="form-group">
            <label class="col-sm-3 control-label"><span style="color: red; ">*</span>订单号：</label>
            <div class="col-sm-4">
                <input class="form-control" type="text" id="orderSn" readonly th:value="*{orderSn}">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">商家备注：</label>
            <div class="col-sm-8">
                <textarea class="form-control" type="text" name="shopRemark" th:text="*{shopRemark}"></textarea>
            </div>
        </div>
    </form>
</div>
<th:block th:include="include :: footer"/>

<script type="text/javascript">
    var prefix = ctx + "back/shopOrder";

    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(prefix + "/edit", $('#form-shop-order-edit').serialize());
        }
    }
</script>
</body>
</html>
